package com.it.zhangjun.design.pattern.visitor;

/**
 * @className: Visitor
 * @description: 访问者接口
 * @author: z00018123
 * @date: 2021/4/30
 **/
public interface Visitor {

    void visitApple(Apple apple);

    void visitOrange(Orange orange);

    void visitBanana(Banana banana);
}
